import stock from "./stock/stock";
import vip from "./vip/vip";
import kevin from "./kevin/kevin";
import integral from "./integral/integral";

const CONTACT_API = {


    // 用户登录
    login: { method: 'post', url: '/store/login/login' },
    // 找回密码
    setPassword: { method: 'post', url: '/store/login/setPassword' },
    // 发送验证码
    massCode: { method: 'post', url: '/store/sms/massCode' },
    // 地址；列表
    tree: { method: 'post', url: '/api/userAddress/areaChild' },
    // 生成工资报表
    generateSalary: { method: 'post', url: '/store/finance/generateSalary' },

    // 文件上传
    upload: { method: 'post', url: '/store/upload' },

    //门店列表/详情
    getStore: { method: "post", url: "/store/store/getStore" },
    //提成配置列表
    getRoyalty: { method: "post", url: "/store/orders/getRoyalty" },

    // 项目列表
    getProject: { method: 'post', url: '/store/project/getProject' },

    // 预约列表/详情
    getReserve: { method: 'post', url: '/store/reserve/getReserve' },
    // 处理预约单
    handleReserve: { method: 'post', url: '/store/reserve/handleReserve' },
    // 获取空闲预约时间
    getFreeReserve: { method: 'post', url: '/store/reserve/getFreeReserve' },
    // 新增/编辑预约
    setReserve: { method: 'post', url: '/store/reserve/setReserve' },

    // 商品管理列表
    getGoods: { method: 'post', url: '/store/goods/getGoods' },
    // 标准成品分类
    getGoodsCategoryCheng: { method: 'post', url: '/store/goods/getGoodsCategoryCheng' },
    // 根据参数获取商品详情
    getGoodsByParams: { method: 'post', url: '/store/goods/getGoodsByParams' },

    // 获取消费订单列表/详情
    getOrders: { method: 'post', url: '/store/orders/getOrders' },

    // 会员列表/详情
    getUser: { method: 'post', url: '/store/user/getUser' },
    // 根据登录员工获取菜单
    getMenu: { method: 'post', url: '/store/staff/getMenu' },
    // 根据条件获取会员
    getUserSearch: { method: 'post', url: '/store/user/getUserSearch' },
    // 获取会员等级列表/详情
    getVip: { method: 'post', url: '/store/vip/getVip' },
    // 保存用户
    setUser: { method: 'post', url: '/store/user/setUser' },
    // 查看转介绍人
    getChild: { method: 'post', url: '/store/user/getChild' },
    // 查询用户最近一次变更记录
    getSaveLog: { method: 'post', url: '/store/user/getSaveLog' },
    // 手动赠送服务次数
    setServiceCount: { method: 'post', url: '/store/user/setServiceCount' },
    // 赠送服务次数记录
    getServiceCount: { method: 'post', url: '/store/user/getServiceCount' },
    // 积分变更
    setIntegral: { method: 'post', url: '/store/user/setIntegral' },
    // 积分变更记录
    getIntegral: { method: 'post', url: '/store/user/getIntegral' },
    // 会员充值
    setUserRecharge: { method: 'post', url: '/store/user/setUserRecharge' },
    // 充值记录
    getUserRecharge: { method: 'post', url: '/store/user/getUserRecharge' },
    //订单退款
    returnOrders: { method: 'post', url: '/store/orders/returnOrders' },
    //订单作废
    cancelOrder: { method: 'post', url: '/store/orders/cancelOrder' },
    //确认完成订单
    queryOrders: { method: 'post', url: '/store/orders/queryOrders' },
    // //生日提醒
    // getBirthday: { method: 'post', url: 'store/user/getBirthday' },
    // //发送短信通知
    // setSms: { method: 'post', url: 'store/user/setSms' },
    // //生日提醒列表到处
    // exportBirthday: { method: 'post', url: 'store/user/exportBirthday' },

    //-----------韩栋




    //-----------翠峰


    //-----------凯文


    //要货单—特殊—列表/详情
    specialLists: { method: 'post', url: '/store/takeTicket/specialLists' },
}
Object.assign(CONTACT_API, stock, kevin, vip, integral);
export default CONTACT_API